package com.corgi.multi.anno;

import com.corgi.multi.anno.config.dynamic.DynamicDataSourceRegister;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

/**
 * MultiDataSourceAnnoApplication
 *
 * @title: MultiDataSourceAnnoApplication
 * @description:
 * @author: dengmiao
 * @create: 2020-05-21 19:45
 **/
@SpringBootApplication
@Import(DynamicDataSourceRegister.class)
public class MultiDataSourceAnnoApplication {

    public static void main(String[] args) {
        SpringApplication.run(MultiDataSourceAnnoApplication.class, args);
    }
}
